local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1
L0_1 = {}
L0_1.group_id = 133106504
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 504001
L2_1.gadget_id = 70290199
L3_1 = {}
L3_1.x = -414.296
L3_1.y = 220.804
L3_1.z = 1756.33
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 358.503
L3_1.y = 251.924
L3_1.z = 354.281
L2_1.rot = L3_1
L2_1.level = 36
L2_1.persistent = true
L2_1.area_id = 19
L3_1 = {}
L3_1.config_id = 504002
L3_1.gadget_id = 70290190
L4_1 = {}
L4_1.x = -441.414
L4_1.y = 208.476
L4_1.z = 1767.228
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 348.192
L4_1.y = 152.528
L4_1.z = 338.518
L3_1.rot = L4_1
L3_1.level = 36
L3_1.persistent = true
L3_1.area_id = 19
L4_1 = {}
L4_1.config_id = 504003
L4_1.gadget_id = 70290191
L5_1 = {}
L5_1.x = -433.256
L5_1.y = 214.203
L5_1.z = 1775.303
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 345.133
L5_1.y = 144.14
L5_1.z = 340.457
L4_1.rot = L5_1
L4_1.level = 36
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.persistent = true
L4_1.area_id = 19
L5_1 = {}
L5_1.config_id = 504004
L5_1.gadget_id = 70211111
L6_1 = {}
L6_1.x = -413.497
L6_1.y = 222.553
L6_1.z = 1755.538
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 23.559
L6_1.y = 270.446
L6_1.z = 27.363
L5_1.rot = L6_1
L5_1.level = 26
L5_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\146\131\230\156\136"
L6_1 = GadgetState
L6_1 = L6_1.ChestLocked
L5_1.state = L6_1
L5_1.isOneoff = true
L5_1.persistent = true
L6_1 = {}
L6_1.name = "chest"
L6_1.exp = 1
L5_1.explore = L6_1
L5_1.area_id = 19
L6_1 = {}
L6_1.config_id = 504005
L6_1.gadget_id = 70290191
L7_1 = {}
L7_1.x = -424.435
L7_1.y = 218.186
L7_1.z = 1765.187
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 336.208
L7_1.y = 103.367
L7_1.z = 354.524
L6_1.rot = L7_1
L6_1.level = 36
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.persistent = true
L6_1.area_id = 19
L7_1 = {}
L7_1.config_id = 504007
L7_1.gadget_id = 70290190
L8_1 = {}
L8_1.x = -433.515
L8_1.y = 213.544
L8_1.z = 1744.829
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 345.302
L8_1.y = 120.838
L8_1.z = 1.67
L7_1.rot = L8_1
L7_1.level = 36
L7_1.persistent = true
L7_1.area_id = 19
L8_1 = {}
L8_1.config_id = 504008
L8_1.gadget_id = 70290191
L9_1 = {}
L9_1.x = -420.667
L9_1.y = 217.899
L9_1.z = 1743.579
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 17.853
L9_1.y = 314.703
L9_1.z = 16.878
L8_1.rot = L9_1
L8_1.level = 36
L9_1 = GadgetState
L9_1 = L9_1.GearStart
L8_1.state = L9_1
L8_1.persistent = true
L8_1.area_id = 19
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1504006
L2_1.name = "ANY_GADGET_DIE_504006"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_GADGET_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_GADGET_DIE_504006"
L2_1.action = "action_EVENT_ANY_GADGET_DIE_504006"
L1_1[1] = L2_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 504001
L5_1 = 504002
L6_1 = 504003
L7_1 = 504004
L8_1 = 504005
L9_1 = 504007
L10_1 = 504008
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_GADGET_DIE_504006"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 504001 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_GADGET_DIE_504006 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 504004
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_504006 = L1_1
